package cn.south.campus.admin.campus.model.req;

import cn.south.campus.admin.campus.model.entity.WithdrawalAudit;
import cn.south.campus.common.model.qo.BaseQO;
import cn.south.campus.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/18 16:31
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WithdrawalAuditReq extends BaseQO<WithdrawalAudit> {

    private String nickname;

    private String phone;

    private String startDateStr;

    private String endDateStr;

    private String status;

    private String orderBy =" update_time";

    public LocalDateTime getStartDateStr() {
        return DateUtil.parseString(startDateStr);
    }

    public LocalDateTime getEndDateStr() {
        return DateUtil.parseString(endDateStr);
    }

}
